<#include "/includes/vars.inc"> 
<@pp.dropOutputFile />
<@pp.changeOutputFile name="${javaDir}${packageDir}/service/util/Util.java" />

package ${project.@rootPackage}.service.util;


/**
 * Utility class
 * <#if project.@author[0]??>@author ${project.@author}</#if>
 */
public class Util {

    public static double round(double num,int decimals) {
        return Math.round(num * Math.pow(10, decimals)) / Math.pow(10, decimals);
    }
}
